package com.wish.g04.financial.controller;

import com.wish.g04.base.entity.CfContractNo;
import com.wish.g04.base.service.ICfContractNoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 金融
 */
@RestController
@RequestMapping("/financial")
public class FinancialController {

    @Autowired
    private ICfContractNoService iCfContractNoService;

    @GetMapping("/list")
    public List<CfContractNo> list(){
        return iCfContractNoService.list();
    }
}
